package edu.whut.mall.admin.enums;

/**
 * @program: d9lab-mall
 * @description: 是和否
 * @author: Wayne
 * @create: 2020-04-20 15:22
 **/
public enum YesOrNoEnum {
    YES("是",1),NO("否",0);

    private final String desc;
    private final Integer code;

    YesOrNoEnum(String desc, Integer code) {
        this.desc = desc;
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public Integer getCode() {
        return code;
    }
}
